Creates a 3D cylindrical object from a 2D object.